package com.hans.scala

object MapExample {
  def main(args: Array[String]) {
    val map = Map(1 -> "I", 2 -> "II", 3 -> "III")
    map foreach {
      case (k, v) => println(k + " → " + v)
    }
  }
}
